package com.dingdang.sms.allinone.config

data class AliyunConfiguration(
    var sms: AliyunSmsConfiguration?,
    var vms: AliyunVmsConfiguration?
)

open class AliyunBaseConfiguration {
    var accessSecret: String? = null
    var accessId: String? = null
    var regionId: String? = null
    var endpoint: String? = null

}


data class AliyunSmsConfiguration(
    var signName: String? = null
) : AliyunBaseConfiguration()


data class AliyunVmsConfiguration(
    var callNumber: String?,
    //声音，默认为100
    var volume: Int = 100,
    //播放次数,default 3
    var playTimes: Int = 3
) : AliyunBaseConfiguration()